Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V15: Dont seed when in upgrade mode, and maintenance page is enabled #17275

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

Zeegaan
Copy link
Member

@Zeegaan Zeegaan commented Oct 14, 2024

Notes

So a bug was discovered upgrading from 13 to 15, with seeding running while we are migrating, thus causing errors.
The solution is to only run the seeding, when we are in run mode.
There is however one case were we want to run seeding, and that is when you have the maintenance page disabled, (as in, you still want to access the site while in upgrade state, and thus we want that content to be seeded).
I do however think this case is fine to get errors, as this would also be the case when accessing content, where the data models no longer match, and thus would cause errors anyways.

How to test

  • From a v13 database
  • Try to run v15 with unattended upgrades enabled
  • The error should no longer occur.

@bergmania bergmania merged commit 86557a0 into release/15.0 Oct 15, 2024
13 of 15 checks passed
@bergmania bergmania deleted the v15/hotfix/dont-seed-in-update branch October 15, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants